feat(fulltext): read global indexes via paimon-ftindex-core#571
Merged
Conversation
Contributor
|
Thanks for the great coordination here, @shyjsarah! 🙏 #563 is now merged into |
shyjsarah
force-pushed
the
feat/global-fulltext-core
branch
from
July 23, 2026 02:47
38e92cf to
10cb134
Compare
5 tasks
JingsongLi
marked this pull request as ready for review
July 23, 2026 05:18
shyjsarah
force-pushed
the
feat/global-fulltext-core
branch
from
July 23, 2026 05:29
10cb134 to
7ac6d49
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Migrate the append/data-evolution global full-text search path from the legacy in-repository Tantivy implementation to the shared
paimon-ftindex-coreengine.This lets Rust and DataFusion read the current
full-textindex archives produced by Java Paimon and PyPaimon while preserving the existingfull_text_search(table_name, column_name, query_text, limit)SQL API.This PR intentionally focuses on the non-primary-key/global-index path. The primary-key full-text and hybrid search work is covered separately by #568.
Brief change log
paimon-ftindex-core.full-textentries from snapshot index manifests through a bounded-concurrencySeekReadadapter.fast,full, anddetailsearch modes with Java and PyPaimon behavior, including raw fallback for uncovered row ranges.API and compatibility
full_text_search(table_name, column_name, query_text, limit)SQL table-function signature is unchanged.FullTextSearchandSearchResultmove frompaimon::tantivy::full_text_searchtopaimon::full_text, while the legacyTantivyFullTextReaderandTantivyFullTextWriterAPIs are removed.QueryParsersyntax must migrate those queries to the Paimon JSON query DSL.fulltextfeature now reads the current Paimonfull-textarchive format. Legacytantivy-fulltextauxiliary indexes are no longer supported and must be rebuilt in the current format.Testing
cargo check -p paimon --features fulltextcargo test -p paimon --features fulltext full_text -- --nocapturecargo check -p paimon-datafusion --features fulltextcargo test -p paimon-datafusion --features fulltext fulltext_tests -- --nocapturecargo clippy -p paimon --lib --tests --features fulltext -- -D warningscargo clippy -p paimon-datafusion --lib --tests --features fulltext -- -D warningsmainScope and coordination
paimon-ftindex-core0.1.0 crate.